/*
 *	main.cpp
 *
 * 	Copyright (C) 2011 Aaron Huang
 * 	This file is part of StackPainter.
 *
 * 	StackPainter is free software: you can redistribute it and/or modify
 * 	it under the terms of the GNU General Public License as published by
 * 	the Free Software Foundation, either version 3 of the License, or
 * 	(at your option) any later version.
 *
 * 	StackPainter is distributed in the hope that it will be useful,
 * 	but WITHOUT ANY WARRANTY; without even the implied warranty of
 * 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * 	GNU General Public License for more details.
 *
 * 	You should have received a copy of the GNU General Public License
 * 	along with StackPainter.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "CompanyInfo.h"
#include "IncomeStatementCSVParser.h"
#include "MainWindow.h"

#include <iostream>
#include <QList>
#include <QCoreApplication>
#include <QApplication>

using namespace std;

int main(int argc, char* argv[]) {
//	QCoreApplication app(argc,argv);
//	IncomeStatementCSVParser parser;
//	QList<CompanyInfo*> companyInfos = parser.parse();
//	foreach (CompanyInfo* companyInfo, companyInfos) {
//		if (companyInfo->isListedOver(5) && companyInfo->isEPSAscending()) {
//			cout << companyInfo->toStdString();
//		}
//	}
//	cout << "done.\n";
	QApplication app(argc,argv);
	MainWindow m;
	m.show();
	return app.exec();
//	return 0;
}
